package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 配置信息存储业务对象 common_config
 *
 * @author ruoyi
 * @date 2023-11-30
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class CommonConfigBo extends BaseEntity {

    /**
     * 配置id
     */
    @NotNull(message = "配置id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 类型
     */
    //@NotBlank(message = "类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String type;

    /**
     * 规则信息
     */
    //@NotBlank(message = "规则信息不能为空", groups = { AddGroup.class, EditGroup.class })
    private String info;

    /**
     * 创建者id
     */
    //@NotNull(message = "创建者id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long createId;

    /**
     * 状态
     */
    //@NotBlank(message = "状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;

    /**
     * 备注
     */
    //@NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;


}
